package com.yun;

import com.yun.bean.Student;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author: fxy
 * @Date: 2022/07/26/10:20
 * @Description:
 */
public class Test01 {
	public static void main(String[] args) {
		ApplicationContext context = new AnnotationConfigApplicationContext(YunConfig.class);
		Student student = (Student)context.getBean("student");
	}
}
